package com.ssy.lingxi.platform.manage.model.response;

import lombok.Getter;
import lombok.Setter;

/**
 * @author wyx
 * @version 2.0.0
 * @date 2021-11-15
 */
@Setter
@Getter
public class NewVersionRes {
    /**
     * 主键ID
     */
    private Long id;

    /**
     * 版本号
     */
    private String version;

    /**
     * 升级类型：1、强制更新 2、非强制更新
     */
    private Integer type;

    /**
     * APP安装包下载地址
     */
    private String installPack;

    public NewVersionRes(Long id, String version, Integer type, String installPack) {
        this.id = id;
        this.version = version;
        this.type = type;
        this.installPack = installPack;
    }
}
